.class public Les/re;
.super Ljava/lang/Object;
.source "MergeRender.java"


# annotations
.annotation system Ldalvik/annotation/MemberClasses;
    value = {
        Les/re$b;,
        Les/re$d;,
        Les/re$c;,
        Les/re$e;
    }
.end annotation


# instance fields
.field private a:Les/re$e;

.field private b:Les/re$c;

.field private c:Les/se;

.field private d:Landroid/os/Handler;

.field private e:Ljava/util/List;
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "Ljava/util/List<",
            "Les/qe;",
            ">;"
        }
    .end annotation
.end field

.field private f:Les/qe;

.field private g:Les/re$d;

.field private h:Les/re$b;

.field private i:Lcom/esfile/screen/recorder/player/exo/DuExoGLVideoView;

.field private j:Lcom/esfile/screen/recorder/videos/merge/ui/ImageViewPlayer;

.field private k:Ljava/lang/String;


# direct methods
.method public constructor <init>()V
    .locals 2

    .line 1
    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    .line 2
    new-instance v0, Les/re$a;

    invoke-static {}, Landroid/os/Looper;->myLooper()Landroid/os/Looper;

    move-result-object v1

    invoke-direct {v0, p0, v1}, Les/re$a;-><init>(Les/re;Landroid/os/Looper;)V

    iput-object v0, p0, Les/re;->d:Landroid/os/Handler;

    .line 3
    new-instance v0, Ljava/util/ArrayList;

    invoke-direct {v0}, Ljava/util/ArrayList;-><init>()V

    iput-object v0, p0, Les/re;->e:Ljava/util/List;

    const-string v0, ""

    .line 4
    iput-object v0, p0, Les/re;->k:Ljava/lang/String;

    return-void
.end method

.method static synthetic a(Les/re;)Les/qe;
    .locals 0

    .line 1
    iget-object p0, p0, Les/re;->f:Les/qe;

    return-object p0
.end method

.method private a(Les/qe;I)V
    .locals 3

    .line 3
    iget-object v0, p0, Les/re;->e:Ljava/util/List;

    invoke-interface {v0}, Ljava/util/List;->iterator()Ljava/util/Iterator;

    move-result-object v0

    :goto_0
    invoke-interface {v0}, Ljava/util/Iterator;->hasNext()Z

    move-result v1

    if-eqz v1, :cond_0

    invoke-interface {v0}, Ljava/util/Iterator;->next()Ljava/lang/Object;

    move-result-object v1

    check-cast v1, Les/qe;

    const/4 v2, 0x0

    .line 4
    iput v2, v1, Les/qe;->g:I

    goto :goto_0

    :cond_0
    if-eqz p1, :cond_1

    .line 5
    iput p2, p1, Les/qe;->g:I

    :cond_1
    return-void
.end method

.method private a(Les/qe;J)V
    .locals 2

    .line 73
    iget-object v0, p1, Les/qe;->b:Ljava/lang/String;

    const-string v1, "video"

    invoke-virtual {v1, v0}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v0

    if-eqz v0, :cond_0

    .line 74
    invoke-direct {p0, p2, p3}, Les/re;->c(J)V

    goto :goto_0

    .line 75
    :cond_0
    iget-object p1, p1, Les/qe;->b:Ljava/lang/String;

    const-string v0, "image"

    invoke-virtual {v0, p1}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result p1

    if-eqz p1, :cond_1

    .line 76
    invoke-direct {p0, p2, p3}, Les/re;->b(J)V

    :cond_1
    :goto_0
    return-void
.end method

.method private a(Les/qe;Ljava/lang/Runnable;)V
    .locals 3

    if-nez p1, :cond_0

    return-void

    .line 6
    :cond_0
    new-instance v0, Ljava/lang/StringBuilder;

    invoke-direct {v0}, Ljava/lang/StringBuilder;-><init>()V

    const-string v1, "itemPause, path is:"

    invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    iget-object v1, p1, Les/qe;->c:Ljava/lang/String;

    invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    const-string v1, " uniqueId is:"

    invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    iget-wide v1, p1, Les/qe;->a:J

    invoke-virtual {v0, v1, v2}, Ljava/lang/StringBuilder;->append(J)Ljava/lang/StringBuilder;

    invoke-virtual {v0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v0

    const-string v1, "MergeRender"

    invoke-static {v1, v0}, Lcom/esfile/screen/recorder/utils/n;->d(Ljava/lang/String;Ljava/lang/String;)V

    .line 7
    iget-object v0, p1, Les/qe;->b:Ljava/lang/String;

    const-string v1, "video"

    invoke-virtual {v1, v0}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v0

    if-eqz v0, :cond_1

    .line 8
    invoke-direct {p0, p1, p2}, Les/re;->d(Les/qe;Ljava/lang/Runnable;)V

    goto :goto_0

    .line 9
    :cond_1
    iget-object v0, p1, Les/qe;->b:Ljava/lang/String;

    const-string v1, "image"

    invoke-virtual {v1, v0}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v0

    if-eqz v0, :cond_2

    .line 10
    invoke-direct {p0, p1, p2}, Les/re;->c(Les/qe;Ljava/lang/Runnable;)V

    .line 11
    :cond_2
    :goto_0
    invoke-direct {p0}, Les/re;->o()V

    return-void
.end method

.method static synthetic a(Les/re;Les/qe;Ljava/lang/Runnable;)V
    .locals 0

    .line 2
    invoke-direct {p0, p1, p2}, Les/re;->a(Les/qe;Ljava/lang/Runnable;)V

    return-void
.end method

.method private a(Ljava/lang/String;)V
    .locals 1

    .line 97
    iget-object v0, p0, Les/re;->i:Lcom/esfile/screen/recorder/player/exo/DuExoGLVideoView;

    if-eqz v0, :cond_5

    .line 98
    iget-object v0, p0, Les/re;->j:Lcom/esfile/screen/recorder/videos/merge/ui/ImageViewPlayer;

    if-eqz v0, :cond_4

    .line 99
    iget-object v0, p0, Les/re;->k:Ljava/lang/String;

    invoke-static {v0, p1}, Landroid/text/TextUtils;->equals(Ljava/lang/CharSequence;Ljava/lang/CharSequence;)Z

    move-result v0

    if-nez v0, :cond_3

    const-string v0, "video"

    .line 100
    invoke-virtual {v0, p1}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v0

    if-eqz v0, :cond_1

    .line 101
    iget-object v0, p0, Les/re;->h:Les/re$b;

    if-eqz v0, :cond_0

    .line 102
    invoke-interface {v0}, Les/re$b;->b()V

    .line 103
    :cond_0
    iget-object v0, p0, Les/re;->i:Lcom/esfile/screen/recorder/player/exo/DuExoGLVideoView;

    invoke-virtual {v0}, Landroid/widget/FrameLayout;->bringToFront()V

    goto :goto_0

    :cond_1
    const-string v0, "image"

    .line 104
    invoke-virtual {v0, p1}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v0

    if-eqz v0, :cond_3

    .line 105
    iget-object v0, p0, Les/re;->h:Les/re$b;

    if-eqz v0, :cond_2

    .line 106
    invoke-interface {v0}, Les/re$b;->a()V

    .line 107
    :cond_2
    iget-object v0, p0, Les/re;->j:Lcom/esfile/screen/recorder/videos/merge/ui/ImageViewPlayer;

    invoke-virtual {v0}, Landroid/widget/FrameLayout;->bringToFront()V

    .line 108
    :cond_3
    :goto_0
    iput-object p1, p0, Les/re;->k:Ljava/lang/String;

    return-void

    .line 109
    :cond_4
    new-instance p1, Ljava/lang/IllegalStateException;

    const-string v0, "You forgot to set ImageView"

    invoke-direct {p1, v0}, Ljava/lang/IllegalStateException;-><init>(Ljava/lang/String;)V

    throw p1

    .line 110
    :cond_5
    new-instance p1, Ljava/lang/IllegalStateException;

    const-string v0, "You forgot to set VideoPlayer"

    invoke-direct {p1, v0}, Ljava/lang/IllegalStateException;-><init>(Ljava/lang/String;)V

    throw p1
.end method

.method static synthetic b(Les/re;)Lcom/esfile/screen/recorder/videos/merge/ui/ImageViewPlayer;
    .locals 0

    .line 1
    iget-object p0, p0, Les/re;->j:Lcom/esfile/screen/recorder/videos/merge/ui/ImageViewPlayer;

    return-object p0
.end method

.method private b(J)V
    .locals 2

    .line 39
    new-instance v0, Ljava/lang/StringBuilder;

    invoke-direct {v0}, Ljava/lang/StringBuilder;-><init>()V

    const-string v1, "imageSeekTo:"

    invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    invoke-virtual {v0, p1, p2}, Ljava/lang/StringBuilder;->append(J)Ljava/lang/StringBuilder;

    invoke-virtual {v0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v0

    const-string v1, "MergeRender"

    invoke-static {v1, v0}, Lcom/esfile/screen/recorder/utils/n;->d(Ljava/lang/String;Ljava/lang/String;)V

    .line 40
    iget-object v0, p0, Les/re;->j:Lcom/esfile/screen/recorder/videos/merge/ui/ImageViewPlayer;

    long-to-int p2, p1

    invoke-virtual {v0, p2}, Lcom/esfile/screen/recorder/videos/merge/ui/ImageViewPlayer;->a(I)V

    return-void
.end method

.method private b(Les/qe;)V
    .locals 3

    if-nez p1, :cond_0

    return-void

    .line 32
    :cond_0
    new-instance v0, Ljava/lang/StringBuilder;

    invoke-direct {v0}, Ljava/lang/StringBuilder;-><init>()V

    const-string v1, "itemResume, path is:"

    invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    iget-object v1, p1, Les/qe;->c:Ljava/lang/String;

    invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    const-string v1, " uniqueId is:"

    invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    iget-wide v1, p1, Les/qe;->a:J

    invoke-virtual {v0, v1, v2}, Ljava/lang/StringBuilder;->append(J)Ljava/lang/StringBuilder;

    invoke-virtual {v0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v0

    const-string v1, "MergeRender"

    invoke-static {v1, v0}, Lcom/esfile/screen/recorder/utils/n;->d(Ljava/lang/String;Ljava/lang/String;)V

    .line 33
    iget-object v0, p1, Les/qe;->b:Ljava/lang/String;

    const-string v1, "video"

    invoke-virtual {v1, v0}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v0

    if-eqz v0, :cond_1

    .line 34
    invoke-direct {p0, p1}, Les/re;->e(Les/qe;)V

    goto :goto_0

    .line 35
    :cond_1
    iget-object v0, p1, Les/qe;->b:Ljava/lang/String;

    const-string v1, "image"

    invoke-virtual {v1, v0}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v0

    if-eqz v0, :cond_2

    .line 36
    invoke-direct {p0, p1}, Les/re;->d(Les/qe;)V

    :cond_2
    :goto_0
    return-void
.end method

.method private b(Les/qe;Ljava/lang/Runnable;)V
    .locals 2

    .line 2
    iget-object v0, p1, Les/qe;->b:Ljava/lang/String;

    const-string v1, "video"

    invoke-virtual {v1, v0}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v0

    if-eqz v0, :cond_0

    .line 3
    invoke-direct {p0, p1, p2}, Les/re;->f(Les/qe;Ljava/lang/Runnable;)V

    goto :goto_0

    .line 4
    :cond_0
    iget-object v0, p1, Les/qe;->b:Ljava/lang/String;

    const-string v1, "image"

    invoke-virtual {v1, v0}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v0

    if-eqz v0, :cond_1

    .line 5
    invoke-direct {p0, p1, p2}, Les/re;->e(Les/qe;Ljava/lang/Runnable;)V

    :cond_1
    :goto_0
    return-void
.end method

.method static synthetic c(Les/re;)Lcom/esfile/screen/recorder/player/exo/DuExoGLVideoView;
    .locals 0

    .line 1
    iget-object p0, p0, Les/re;->i:Lcom/esfile/screen/recorder/player/exo/DuExoGLVideoView;

    return-object p0
.end method

.method private c(J)V
    .locals 2

    .line 26
    new-instance v0, Ljava/lang/StringBuilder;

    invoke-direct {v0}, Ljava/lang/StringBuilder;-><init>()V

    const-string v1, "videoSeekTo:"

    invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    invoke-virtual {v0, p1, p2}, Ljava/lang/StringBuilder;->append(J)Ljava/lang/StringBuilder;

    invoke-virtual {v0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v0

    const-string v1, "MergeRender"

    invoke-static {v1, v0}, Lcom/esfile/screen/recorder/utils/n;->d(Ljava/lang/String;Ljava/lang/String;)V

    .line 27
    iget-object v0, p0, Les/re;->i:Lcom/esfile/screen/recorder/player/exo/DuExoGLVideoView;

    long-to-int p2, p1

    invoke-virtual {v0, p2}, Lcom/esfile/screen/recorder/player/exo/DuExoGLVideoView;->seekTo(I)V

    return-void
.end method

.method private c(Les/qe;)V
    .locals 2

    .line 16
    invoke-direct {p0}, Les/re;->o()V

    .line 17
    iget-object v0, p1, Les/qe;->b:Ljava/lang/String;

    const-string v1, "video"

    invoke-virtual {v1, v0}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v0

    if-eqz v0, :cond_0

    .line 18
    invoke-direct {p0, p1}, Les/re;->h(Les/qe;)V

    goto :goto_0

    .line 19
    :cond_0
    iget-object v0, p1, Les/qe;->b:Ljava/lang/String;

    const-string v1, "image"

    invoke-virtual {v1, v0}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v0

    if-eqz v0, :cond_1

    .line 20
    invoke-direct {p0, p1}, Les/re;->g(Les/qe;)V

    :cond_1
    :goto_0
    const/4 v0, 0x0

    .line 21
    invoke-direct {p0, p1, v0}, Les/re;->a(Les/qe;I)V

    return-void
.end method

.method private c(Les/qe;Ljava/lang/Runnable;)V
    .locals 3

    const-string v0, "MergeRender"

    const-string v1, "pauseImage"

    .line 2
    invoke-static {v0, v1}, Lcom/esfile/screen/recorder/utils/n;->d(Ljava/lang/String;Ljava/lang/String;)V

    .line 3
    iget-object v1, p1, Les/qe;->c:Ljava/lang/String;

    iget-object v2, p0, Les/re;->j:Lcom/esfile/screen/recorder/videos/merge/ui/ImageViewPlayer;

    invoke-virtual {v2}, Lcom/esfile/screen/recorder/videos/merge/ui/ImageViewPlayer;->getPath()Ljava/lang/String;

    move-result-object v2

    invoke-static {v1, v2}, Landroid/text/TextUtils;->equals(Ljava/lang/CharSequence;Ljava/lang/CharSequence;)Z

    move-result v1

    if-eqz v1, :cond_1

    const-string v1, "pauseImage path not changed"

    .line 4
    invoke-static {v0, v1}, Lcom/esfile/screen/recorder/utils/n;->d(Ljava/lang/String;Ljava/lang/String;)V

    .line 5
    iget-object v0, p0, Les/re;->j:Lcom/esfile/screen/recorder/videos/merge/ui/ImageViewPlayer;

    iget-wide v1, p1, Les/qe;->d:J

    invoke-virtual {v0, v1, v2}, Lcom/esfile/screen/recorder/videos/merge/ui/ImageViewPlayer;->setDuration(J)V

    .line 6
    iget-object v0, p0, Les/re;->j:Lcom/esfile/screen/recorder/videos/merge/ui/ImageViewPlayer;

    invoke-virtual {v0}, Lcom/esfile/screen/recorder/videos/merge/ui/ImageViewPlayer;->a()V

    const/4 v0, 0x1

    .line 7
    invoke-direct {p0, p1, v0}, Les/re;->a(Les/qe;I)V

    if-eqz p2, :cond_0

    .line 8
    invoke-interface {p2}, Ljava/lang/Runnable;->run()V

    :cond_0
    const-string p1, "image"

    .line 9
    invoke-direct {p0, p1}, Les/re;->a(Ljava/lang/String;)V

    goto :goto_0

    :cond_1
    const-string v1, "pauseImage path has changed"

    .line 10
    invoke-static {v0, v1}, Lcom/esfile/screen/recorder/utils/n;->d(Ljava/lang/String;Ljava/lang/String;)V

    .line 11
    iget-object v0, p0, Les/re;->j:Lcom/esfile/screen/recorder/videos/merge/ui/ImageViewPlayer;

    new-instance v1, Les/ee;

    invoke-direct {v1, p0, p1, p2}, Les/ee;-><init>(Les/re;Les/qe;Ljava/lang/Runnable;)V

    invoke-virtual {v0, v1}, Lcom/esfile/screen/recorder/videos/merge/ui/ImageViewPlayer;->setOnPreparedListener(Lcom/esfile/screen/recorder/videos/merge/ui/ImageViewPlayer$e;)V

    .line 12
    iget-object p2, p0, Les/re;->j:Lcom/esfile/screen/recorder/videos/merge/ui/ImageViewPlayer;

    new-instance v0, Les/je;

    invoke-direct {v0, p0, p1}, Les/je;-><init>(Les/re;Les/qe;)V

    invoke-virtual {p2, v0}, Lcom/esfile/screen/recorder/videos/merge/ui/ImageViewPlayer;->setOnErrorListener(Lcom/esfile/screen/recorder/videos/merge/ui/ImageViewPlayer$d;)V

    .line 13
    iget-object p2, p0, Les/re;->j:Lcom/esfile/screen/recorder/videos/merge/ui/ImageViewPlayer;

    iget-wide v0, p1, Les/qe;->d:J

    invoke-virtual {p2, v0, v1}, Lcom/esfile/screen/recorder/videos/merge/ui/ImageViewPlayer;->setDuration(J)V

    .line 14
    iget-object p2, p0, Les/re;->j:Lcom/esfile/screen/recorder/videos/merge/ui/ImageViewPlayer;

    iget-object p1, p1, Les/qe;->c:Ljava/lang/String;

    invoke-virtual {p2, p1}, Lcom/esfile/screen/recorder/videos/merge/ui/ImageViewPlayer;->setPath(Ljava/lang/String;)V

    .line 15
    iget-object p1, p0, Les/re;->j:Lcom/esfile/screen/recorder/videos/merge/ui/ImageViewPlayer;

    new-instance p2, Les/le;

    invoke-direct {p2, p0}, Les/le;-><init>(Les/re;)V

    invoke-virtual {p1, p2}, Lcom/esfile/screen/recorder/videos/merge/ui/ImageViewPlayer;->setOnCompletionListener(Lcom/esfile/screen/recorder/videos/merge/ui/ImageViewPlayer$c;)V

    :goto_0
    return-void
.end method

.method static synthetic d(Les/re;)Les/se;
    .locals 0

    .line 1
    iget-object p0, p0, Les/re;->c:Les/se;

    return-object p0
.end method

.method private d(Les/qe;)V
    .locals 0

    return-void
.end method

.method private d(Les/qe;Ljava/lang/Runnable;)V
    .locals 3

    const-string v0, "MergeRender"

    const-string v1, "pauseVideo"

    .line 2
    invoke-static {v0, v1}, Lcom/esfile/screen/recorder/utils/n;->d(Ljava/lang/String;Ljava/lang/String;)V

    .line 3
    iget-object v1, p1, Les/qe;->c:Ljava/lang/String;

    iget-object v2, p0, Les/re;->i:Lcom/esfile/screen/recorder/player/exo/DuExoGLVideoView;

    invoke-virtual {v2}, Lcom/esfile/screen/recorder/player/exo/DuExoGLVideoView;->getPath()Ljava/lang/String;

    move-result-object v2

    invoke-static {v1, v2}, Landroid/text/TextUtils;->equals(Ljava/lang/CharSequence;Ljava/lang/CharSequence;)Z

    move-result v1

    if-eqz v1, :cond_2

    iget-object v1, p0, Les/re;->i:Lcom/esfile/screen/recorder/player/exo/DuExoGLVideoView;

    invoke-virtual {v1}, Lcom/esfile/screen/recorder/player/exo/DuExoGLVideoView;->a()Z

    move-result v1

    if-eqz v1, :cond_2

    const-string v1, "pauseVideo path not changed"

    .line 4
    invoke-static {v0, v1}, Lcom/esfile/screen/recorder/utils/n;->d(Ljava/lang/String;Ljava/lang/String;)V

    .line 5
    iget v0, p1, Les/qe;->h:I

    if-lez v0, :cond_0

    .line 6
    iget-object v1, p0, Les/re;->i:Lcom/esfile/screen/recorder/player/exo/DuExoGLVideoView;

    invoke-virtual {v1, v0}, Lcom/esfile/screen/recorder/player/exo/DuExoGLVideoView;->seekTo(I)V

    .line 7
    :cond_0
    iget-object v0, p0, Les/re;->i:Lcom/esfile/screen/recorder/player/exo/DuExoGLVideoView;

    invoke-virtual {v0}, Lcom/esfile/screen/recorder/player/exo/DuExoGLVideoView;->pause()V

    const/4 v0, 0x1

    .line 8
    invoke-direct {p0, p1, v0}, Les/re;->a(Les/qe;I)V

    if-eqz p2, :cond_1

    .line 9
    invoke-interface {p2}, Ljava/lang/Runnable;->run()V

    :cond_1
    const-string p1, "video"

    .line 10
    invoke-direct {p0, p1}, Les/re;->a(Ljava/lang/String;)V

    goto :goto_0

    :cond_2
    const-string v1, "pauseVideo path has changed"

    .line 11
    invoke-static {v0, v1}, Lcom/esfile/screen/recorder/utils/n;->d(Ljava/lang/String;Ljava/lang/String;)V

    .line 12
    iget-object v0, p0, Les/re;->i:Lcom/esfile/screen/recorder/player/exo/DuExoGLVideoView;

    new-instance v1, Les/ge;

    invoke-direct {v1, p0, p1, p2}, Les/ge;-><init>(Les/re;Les/qe;Ljava/lang/Runnable;)V

    invoke-virtual {v0, v1}, Lcom/esfile/screen/recorder/player/exo/DuExoGLVideoView;->setOnPreparedListener(Lcom/esfile/screen/recorder/player/exo/a$g;)V

    .line 13
    iget-object p2, p0, Les/re;->i:Lcom/esfile/screen/recorder/player/exo/DuExoGLVideoView;

    new-instance v0, Les/pe;

    invoke-direct {v0, p0}, Les/pe;-><init>(Les/re;)V

    invoke-virtual {p2, v0}, Lcom/esfile/screen/recorder/player/exo/DuExoGLVideoView;->setOnRenderedToSurfaceListener(Lcom/esfile/screen/recorder/player/exo/a$h;)V

    .line 14
    iget-object p2, p0, Les/re;->i:Lcom/esfile/screen/recorder/player/exo/DuExoGLVideoView;

    iget-object v0, p1, Les/qe;->c:Ljava/lang/String;

    invoke-virtual {p2, v0}, Lcom/esfile/screen/recorder/player/exo/DuExoGLVideoView;->setVideoPath(Ljava/lang/String;)V

    .line 15
    iget-object p2, p0, Les/re;->i:Lcom/esfile/screen/recorder/player/exo/DuExoGLVideoView;

    new-instance v0, Les/he;

    invoke-direct {v0, p0, p1}, Les/he;-><init>(Les/re;Les/qe;)V

    invoke-virtual {p2, v0}, Lcom/esfile/screen/recorder/player/exo/DuExoGLVideoView;->setOnErrorListener(Lcom/esfile/screen/recorder/player/exo/a$d;)V

    .line 16
    iget-object p1, p0, Les/re;->i:Lcom/esfile/screen/recorder/player/exo/DuExoGLVideoView;

    new-instance p2, Les/fe;

    invoke-direct {p2, p0}, Les/fe;-><init>(Les/re;)V

    invoke-virtual {p1, p2}, Lcom/esfile/screen/recorder/player/exo/DuExoGLVideoView;->setOnCompletionListener(Lcom/esfile/screen/recorder/player/exo/a$c;)V

    :goto_0
    return-void
.end method

.method private e(Les/qe;)V
    .locals 0

    .line 24
    iget-object p1, p0, Les/re;->i:Lcom/esfile/screen/recorder/player/exo/DuExoGLVideoView;

    invoke-virtual {p1}, Lcom/esfile/screen/recorder/player/exo/DuExoGLVideoView;->b()V

    return-void
.end method

.method private e(Les/qe;Ljava/lang/Runnable;)V
    .locals 3

    const-string v0, "MergeRender"

    const-string v1, "startImage"

    .line 4
    invoke-static {v0, v1}, Lcom/esfile/screen/recorder/utils/n;->d(Ljava/lang/String;Ljava/lang/String;)V

    .line 5
    iget-object v1, p1, Les/qe;->c:Ljava/lang/String;

    iget-object v2, p0, Les/re;->j:Lcom/esfile/screen/recorder/videos/merge/ui/ImageViewPlayer;

    invoke-virtual {v2}, Lcom/esfile/screen/recorder/videos/merge/ui/ImageViewPlayer;->getPath()Ljava/lang/String;

    move-result-object v2

    invoke-static {v1, v2}, Landroid/text/TextUtils;->equals(Ljava/lang/CharSequence;Ljava/lang/CharSequence;)Z

    move-result v1

    if-eqz v1, :cond_2

    const-string v1, "path is not changed"

    .line 6
    invoke-static {v0, v1}, Lcom/esfile/screen/recorder/utils/n;->d(Ljava/lang/String;Ljava/lang/String;)V

    .line 7
    iget-object v0, p0, Les/re;->j:Lcom/esfile/screen/recorder/videos/merge/ui/ImageViewPlayer;

    invoke-virtual {p1}, Les/qe;->a()J

    move-result-wide v1

    invoke-virtual {v0, v1, v2}, Lcom/esfile/screen/recorder/videos/merge/ui/ImageViewPlayer;->setDuration(J)V

    .line 8
    iget v0, p1, Les/qe;->i:I

    if-lez v0, :cond_0

    goto :goto_0

    .line 9
    :cond_0
    iget v0, p1, Les/qe;->h:I

    :goto_0
    int-to-long v0, v0

    const/4 v2, 0x0

    .line 10
    iput v2, p1, Les/qe;->i:I

    .line 11
    iget-object v2, p0, Les/re;->j:Lcom/esfile/screen/recorder/videos/merge/ui/ImageViewPlayer;

    invoke-virtual {v2, v0, v1}, Lcom/esfile/screen/recorder/videos/merge/ui/ImageViewPlayer;->a(J)V

    const/4 v0, 0x2

    .line 12
    invoke-direct {p0, p1, v0}, Les/re;->a(Les/qe;I)V

    if-eqz p2, :cond_1

    .line 13
    invoke-interface {p2}, Ljava/lang/Runnable;->run()V

    :cond_1
    const-string p1, "image"

    .line 14
    invoke-direct {p0, p1}, Les/re;->a(Ljava/lang/String;)V

    .line 15
    invoke-direct {p0}, Les/re;->n()V

    goto :goto_1

    :cond_2
    const-string v1, "path is changed."

    .line 16
    invoke-static {v0, v1}, Lcom/esfile/screen/recorder/utils/n;->d(Ljava/lang/String;Ljava/lang/String;)V

    .line 17
    iget-object v0, p0, Les/re;->j:Lcom/esfile/screen/recorder/videos/merge/ui/ImageViewPlayer;

    const/4 v1, 0x0

    invoke-virtual {v0, v1}, Lcom/esfile/screen/recorder/videos/merge/ui/ImageViewPlayer;->setOnCompletionListener(Lcom/esfile/screen/recorder/videos/merge/ui/ImageViewPlayer$c;)V

    .line 18
    iget-object v0, p0, Les/re;->j:Lcom/esfile/screen/recorder/videos/merge/ui/ImageViewPlayer;

    invoke-virtual {v0}, Lcom/esfile/screen/recorder/videos/merge/ui/ImageViewPlayer;->b()V

    .line 19
    iget-object v0, p0, Les/re;->j:Lcom/esfile/screen/recorder/videos/merge/ui/ImageViewPlayer;

    new-instance v1, Les/be;

    invoke-direct {v1, p0, p1, p2}, Les/be;-><init>(Les/re;Les/qe;Ljava/lang/Runnable;)V

    invoke-virtual {v0, v1}, Lcom/esfile/screen/recorder/videos/merge/ui/ImageViewPlayer;->setOnPreparedListener(Lcom/esfile/screen/recorder/videos/merge/ui/ImageViewPlayer$e;)V

    .line 20
    iget-object p2, p0, Les/re;->j:Lcom/esfile/screen/recorder/videos/merge/ui/ImageViewPlayer;

    new-instance v0, Les/ke;

    invoke-direct {v0, p0, p1}, Les/ke;-><init>(Les/re;Les/qe;)V

    invoke-virtual {p2, v0}, Lcom/esfile/screen/recorder/videos/merge/ui/ImageViewPlayer;->setOnErrorListener(Lcom/esfile/screen/recorder/videos/merge/ui/ImageViewPlayer$d;)V

    .line 21
    iget-object p2, p0, Les/re;->j:Lcom/esfile/screen/recorder/videos/merge/ui/ImageViewPlayer;

    iget-wide v0, p1, Les/qe;->d:J

    invoke-virtual {p2, v0, v1}, Lcom/esfile/screen/recorder/videos/merge/ui/ImageViewPlayer;->setDuration(J)V

    .line 22
    iget-object p2, p0, Les/re;->j:Lcom/esfile/screen/recorder/videos/merge/ui/ImageViewPlayer;

    iget-object p1, p1, Les/qe;->c:Ljava/lang/String;

    invoke-virtual {p2, p1}, Lcom/esfile/screen/recorder/videos/merge/ui/ImageViewPlayer;->setPath(Ljava/lang/String;)V

    .line 23
    iget-object p1, p0, Les/re;->j:Lcom/esfile/screen/recorder/videos/merge/ui/ImageViewPlayer;

    new-instance p2, Les/de;

    invoke-direct {p2, p0}, Les/de;-><init>(Les/re;)V

    invoke-virtual {p1, p2}, Lcom/esfile/screen/recorder/videos/merge/ui/ImageViewPlayer;->setOnCompletionListener(Lcom/esfile/screen/recorder/videos/merge/ui/ImageViewPlayer$c;)V

    :goto_1
    return-void
.end method

.method static synthetic e(Les/re;)V
    .locals 0

    .line 1
    invoke-direct {p0}, Les/re;->l()V

    return-void
.end method

.method private f(Les/qe;)V
    .locals 1

    .line 24
    invoke-virtual {p0, p1}, Les/re;->a(Les/qe;)V

    .line 25
    iget-object v0, p0, Les/re;->g:Les/re$d;

    if-eqz v0, :cond_0

    .line 26
    invoke-interface {v0, p1}, Les/re$d;->a(Les/qe;)V

    :cond_0
    return-void
.end method

.method private f(Les/qe;Ljava/lang/Runnable;)V
    .locals 3

    .line 4
    new-instance v0, Ljava/lang/StringBuilder;

    invoke-direct {v0}, Ljava/lang/StringBuilder;-><init>()V

    const-string v1, "startVideo, path is:"

    invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    iget-object v1, p1, Les/qe;->c:Ljava/lang/String;

    invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    const-string v1, " uniqueId is:"

    invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    iget-wide v1, p1, Les/qe;->a:J

    invoke-virtual {v0, v1, v2}, Ljava/lang/StringBuilder;->append(J)Ljava/lang/StringBuilder;

    invoke-virtual {v0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v0

    const-string v1, "MergeRender"

    invoke-static {v1, v0}, Lcom/esfile/screen/recorder/utils/n;->d(Ljava/lang/String;Ljava/lang/String;)V

    .line 5
    iget-object v0, p1, Les/qe;->c:Ljava/lang/String;

    iget-object v2, p0, Les/re;->i:Lcom/esfile/screen/recorder/player/exo/DuExoGLVideoView;

    invoke-virtual {v2}, Lcom/esfile/screen/recorder/player/exo/DuExoGLVideoView;->getPath()Ljava/lang/String;

    move-result-object v2

    invoke-static {v0, v2}, Landroid/text/TextUtils;->equals(Ljava/lang/CharSequence;Ljava/lang/CharSequence;)Z

    move-result v0

    if-eqz v0, :cond_2

    iget-object v0, p0, Les/re;->i:Lcom/esfile/screen/recorder/player/exo/DuExoGLVideoView;

    invoke-virtual {v0}, Lcom/esfile/screen/recorder/player/exo/DuExoGLVideoView;->a()Z

    move-result v0

    if-eqz v0, :cond_2

    const-string v0, "path is not changed"

    .line 6
    invoke-static {v1, v0}, Lcom/esfile/screen/recorder/utils/n;->d(Ljava/lang/String;Ljava/lang/String;)V

    .line 7
    iget v0, p1, Les/qe;->i:I

    if-lez v0, :cond_0

    .line 8
    iget-object v1, p0, Les/re;->i:Lcom/esfile/screen/recorder/player/exo/DuExoGLVideoView;

    invoke-virtual {v1, v0}, Lcom/esfile/screen/recorder/player/exo/DuExoGLVideoView;->seekTo(I)V

    :cond_0
    const/4 v0, 0x0

    .line 9
    iput v0, p1, Les/qe;->i:I

    .line 10
    iget-object v0, p0, Les/re;->i:Lcom/esfile/screen/recorder/player/exo/DuExoGLVideoView;

    iget-wide v1, p1, Les/qe;->f:J

    invoke-virtual {v0, v1, v2}, Lcom/esfile/screen/recorder/player/exo/DuExoGLVideoView;->a(J)V

    const/4 v0, 0x2

    .line 11
    invoke-direct {p0, p1, v0}, Les/re;->a(Les/qe;I)V

    if-eqz p2, :cond_1

    .line 12
    invoke-interface {p2}, Ljava/lang/Runnable;->run()V

    :cond_1
    const-string p1, "video"

    .line 13
    invoke-direct {p0, p1}, Les/re;->a(Ljava/lang/String;)V

    .line 14
    invoke-direct {p0}, Les/re;->n()V

    goto :goto_0

    :cond_2
    const-string v0, "path is changed."

    .line 15
    invoke-static {v1, v0}, Lcom/esfile/screen/recorder/utils/n;->d(Ljava/lang/String;Ljava/lang/String;)V

    .line 16
    iget-object v0, p0, Les/re;->i:Lcom/esfile/screen/recorder/player/exo/DuExoGLVideoView;

    const/4 v1, 0x0

    invoke-virtual {v0, v1}, Lcom/esfile/screen/recorder/player/exo/DuExoGLVideoView;->setOnCompletionListener(Lcom/esfile/screen/recorder/player/exo/a$c;)V

    .line 17
    iget-object v0, p0, Les/re;->i:Lcom/esfile/screen/recorder/player/exo/DuExoGLVideoView;

    invoke-virtual {v0}, Lcom/esfile/screen/recorder/player/exo/DuExoGLVideoView;->isPlaying()Z

    move-result v0

    if-eqz v0, :cond_3

    .line 18
    iget-object v0, p0, Les/re;->i:Lcom/esfile/screen/recorder/player/exo/DuExoGLVideoView;

    invoke-virtual {v0}, Lcom/esfile/screen/recorder/player/exo/DuExoGLVideoView;->c()V

    .line 19
    :cond_3
    iget-object v0, p0, Les/re;->i:Lcom/esfile/screen/recorder/player/exo/DuExoGLVideoView;

    new-instance v1, Les/me;

    invoke-direct {v1, p0, p1, p2}, Les/me;-><init>(Les/re;Les/qe;Ljava/lang/Runnable;)V

    invoke-virtual {v0, v1}, Lcom/esfile/screen/recorder/player/exo/DuExoGLVideoView;->setOnPreparedListener(Lcom/esfile/screen/recorder/player/exo/a$g;)V

    .line 20
    iget-object p2, p0, Les/re;->i:Lcom/esfile/screen/recorder/player/exo/DuExoGLVideoView;

    new-instance v0, Les/ce;

    invoke-direct {v0, p0}, Les/ce;-><init>(Les/re;)V

    invoke-virtual {p2, v0}, Lcom/esfile/screen/recorder/player/exo/DuExoGLVideoView;->setOnRenderedToSurfaceListener(Lcom/esfile/screen/recorder/player/exo/a$h;)V

    .line 21
    iget-object p2, p0, Les/re;->i:Lcom/esfile/screen/recorder/player/exo/DuExoGLVideoView;

    new-instance v0, Les/ie;

    invoke-direct {v0, p0, p1}, Les/ie;-><init>(Les/re;Les/qe;)V

    invoke-virtual {p2, v0}, Lcom/esfile/screen/recorder/player/exo/DuExoGLVideoView;->setOnErrorListener(Lcom/esfile/screen/recorder/player/exo/a$d;)V

    .line 22
    iget-object p2, p0, Les/re;->i:Lcom/esfile/screen/recorder/player/exo/DuExoGLVideoView;

    new-instance v0, Les/ne;

    invoke-direct {v0, p0}, Les/ne;-><init>(Les/re;)V

    invoke-virtual {p2, v0}, Lcom/esfile/screen/recorder/player/exo/DuExoGLVideoView;->setOnCompletionListener(Lcom/esfile/screen/recorder/player/exo/a$c;)V

    .line 23
    iget-object p2, p0, Les/re;->i:Lcom/esfile/screen/recorder/player/exo/DuExoGLVideoView;

    iget-object p1, p1, Les/qe;->c:Ljava/lang/String;

    invoke-virtual {p2, p1}, Lcom/esfile/screen/recorder/player/exo/DuExoGLVideoView;->setVideoPath(Ljava/lang/String;)V

    :goto_0
    return-void
.end method

.method public static synthetic f(Les/re;)V
    .locals 0

    invoke-direct {p0}, Les/re;->k()V

    return-void
.end method

.method private g(Les/qe;)V
    .locals 0

    .line 4
    iget-object p1, p0, Les/re;->j:Lcom/esfile/screen/recorder/videos/merge/ui/ImageViewPlayer;

    invoke-virtual {p1}, Lcom/esfile/screen/recorder/videos/merge/ui/ImageViewPlayer;->b()V

    return-void
.end method

.method private h(Les/qe;)V
    .locals 0

    .line 4
    iget-object p1, p0, Les/re;->i:Lcom/esfile/screen/recorder/player/exo/DuExoGLVideoView;

    invoke-virtual {p1}, Lcom/esfile/screen/recorder/player/exo/DuExoGLVideoView;->c()V

    return-void
.end method

.method private j()V
    .locals 2

    .line 1
    sget-boolean v0, Les/u6;->a:Z

    if-eqz v0, :cond_1

    .line 2
    invoke-virtual {p0}, Les/re;->c()I

    move-result v0

    const/4 v1, 0x2

    if-eq v0, v1, :cond_0

    goto :goto_0

    .line 3
    :cond_0
    new-instance v0, Ljava/lang/IllegalStateException;

    const-string v1, "You should pause or stop first"

    invoke-direct {v0, v1}, Ljava/lang/IllegalStateException;-><init>(Ljava/lang/String;)V

    throw v0

    :cond_1
    :goto_0
    return-void
.end method

.method private k()V
    .locals 2

    .line 1
    invoke-virtual {p0}, Les/re;->c()I

    move-result v0

    .line 2
    iget-object v1, p0, Les/re;->a:Les/re$e;

    if-eqz v1, :cond_0

    .line 3
    invoke-interface {v1, v0}, Les/re$e;->a(I)V

    :cond_0
    return-void
.end method

.method private l()V
    .locals 5

    .line 1
    iget-object v0, p0, Les/re;->f:Les/qe;

    .line 2
    iget-object v1, p0, Les/re;->e:Ljava/util/List;

    invoke-interface {v1, v0}, Ljava/util/List;->indexOf(Ljava/lang/Object;)I

    move-result v1

    .line 3
    new-instance v2, Ljava/lang/StringBuilder;

    invoke-direct {v2}, Ljava/lang/StringBuilder;-><init>()V

    const-string v3, "onItemComplete, index:"

    invoke-virtual {v2, v3}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    invoke-virtual {v2, v1}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;

    const-string v3, ", item:"

    invoke-virtual {v2, v3}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    invoke-virtual {v2, v0}, Ljava/lang/StringBuilder;->append(Ljava/lang/Object;)Ljava/lang/StringBuilder;

    invoke-virtual {v2}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v2

    const-string v3, "MergeRender"

    invoke-static {v3, v2}, Lcom/esfile/screen/recorder/utils/n;->d(Ljava/lang/String;Ljava/lang/String;)V

    const/4 v2, -0x1

    if-ne v1, v2, :cond_0

    return-void

    .line 4
    :cond_0
    iget-object v2, p0, Les/re;->e:Ljava/util/List;

    invoke-interface {v2}, Ljava/util/List;->size()I

    move-result v2

    const/4 v3, 0x1

    sub-int/2addr v2, v3

    if-ne v1, v2, :cond_3

    .line 5
    iget-object v1, p0, Les/re;->e:Ljava/util/List;

    invoke-interface {v1}, Ljava/util/List;->iterator()Ljava/util/Iterator;

    move-result-object v1

    :goto_0
    invoke-interface {v1}, Ljava/util/Iterator;->hasNext()Z

    move-result v2

    if-eqz v2, :cond_1

    invoke-interface {v1}, Ljava/util/Iterator;->next()Ljava/lang/Object;

    move-result-object v2

    check-cast v2, Les/qe;

    .line 6
    iget-wide v3, v2, Les/qe;->e:J

    long-to-int v4, v3

    iput v4, v2, Les/qe;->h:I

    goto :goto_0

    :cond_1
    const/4 v1, 0x0

    .line 7
    invoke-direct {p0, v0, v1}, Les/re;->a(Les/qe;I)V

    .line 8
    iget-object v0, p0, Les/re;->e:Ljava/util/List;

    invoke-interface {v0}, Ljava/util/List;->isEmpty()Z

    move-result v0

    if-nez v0, :cond_2

    .line 9
    iget-object v0, p0, Les/re;->e:Ljava/util/List;

    invoke-interface {v0, v1}, Ljava/util/List;->get(I)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Les/qe;

    invoke-direct {p0, v0}, Les/re;->f(Les/qe;)V

    .line 10
    :cond_2
    invoke-virtual {p0}, Les/re;->f()V

    goto :goto_1

    .line 11
    :cond_3
    iget-object v2, p0, Les/re;->e:Ljava/util/List;

    invoke-interface {v2}, Ljava/util/List;->size()I

    move-result v2

    sub-int/2addr v2, v3

    if-ge v1, v2, :cond_4

    .line 12
    invoke-direct {p0, v0, v3}, Les/re;->a(Les/qe;I)V

    .line 13
    iget-object v0, p0, Les/re;->e:Ljava/util/List;

    add-int/2addr v1, v3

    invoke-interface {v0, v1}, Ljava/util/List;->get(I)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Les/qe;

    .line 14
    iget-wide v1, v0, Les/qe;->e:J

    long-to-int v2, v1

    iput v2, v0, Les/qe;->h:I

    .line 15
    invoke-direct {p0, v0}, Les/re;->f(Les/qe;)V

    const/4 v1, 0x0

    .line 16
    invoke-direct {p0, v0, v1}, Les/re;->b(Les/qe;Ljava/lang/Runnable;)V

    :cond_4
    :goto_1
    return-void
.end method

.method private m()V
    .locals 4

    const-string v0, "MergeRender"

    const-string v1, "seekToForSelectItem"

    .line 1
    invoke-static {v0, v1}, Lcom/esfile/screen/recorder/utils/n;->d(Ljava/lang/String;Ljava/lang/String;)V

    .line 2
    iget-object v0, p0, Les/re;->f:Les/qe;

    if-nez v0, :cond_0

    return-void

    .line 3
    :cond_0
    iget-object v0, p0, Les/re;->e:Ljava/util/List;

    invoke-interface {v0}, Ljava/util/List;->iterator()Ljava/util/Iterator;

    move-result-object v0

    :goto_0
    invoke-interface {v0}, Ljava/util/Iterator;->hasNext()Z

    move-result v1

    if-eqz v1, :cond_1

    invoke-interface {v0}, Ljava/util/Iterator;->next()Ljava/lang/Object;

    move-result-object v1

    check-cast v1, Les/qe;

    .line 4
    iget-wide v2, v1, Les/qe;->e:J

    long-to-int v3, v2

    iput v3, v1, Les/qe;->h:I

    goto :goto_0

    .line 5
    :cond_1
    iget-object v0, p0, Les/re;->f:Les/qe;

    iget v1, v0, Les/qe;->h:I

    int-to-long v1, v1

    invoke-direct {p0, v0, v1, v2}, Les/re;->a(Les/qe;J)V

    return-void
.end method

.method private n()V
    .locals 4

    .line 1
    iget-object v0, p0, Les/re;->d:Landroid/os/Handler;

    const/4 v1, 0x1

    const-wide/16 v2, 0x32

    invoke-virtual {v0, v1, v2, v3}, Landroid/os/Handler;->sendEmptyMessageDelayed(IJ)Z

    return-void
.end method

.method private o()V
    .locals 2

    .line 1
    iget-object v0, p0, Les/re;->d:Landroid/os/Handler;

    const/4 v1, 0x1

    invoke-virtual {v0, v1}, Landroid/os/Handler;->removeMessages(I)V

    return-void
.end method


# virtual methods
.method public a()J
    .locals 10

    const/4 v0, 0x0

    const/4 v1, 0x0

    const/4 v2, 0x0

    .line 63
    :goto_0
    iget-object v3, p0, Les/re;->e:Ljava/util/List;

    invoke-interface {v3}, Ljava/util/List;->size()I

    move-result v3

    if-ge v1, v3, :cond_4

    .line 64
    iget-object v3, p0, Les/re;->e:Ljava/util/List;

    invoke-interface {v3, v1}, Ljava/util/List;->get(I)Ljava/lang/Object;

    move-result-object v3

    check-cast v3, Les/qe;

    .line 65
    iget-object v4, p0, Les/re;->f:Les/qe;

    if-ne v4, v3, :cond_3

    .line 66
    iget-object v1, v3, Les/qe;->b:Ljava/lang/String;

    const-string v4, "image"

    invoke-virtual {v4, v1}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v1

    if-eqz v1, :cond_0

    .line 67
    iget v0, v3, Les/qe;->h:I

    :goto_1
    add-int/2addr v2, v0

    goto :goto_2

    .line 68
    :cond_0
    iget-object v1, v3, Les/qe;->b:Ljava/lang/String;

    const-string v4, "video"

    invoke-virtual {v4, v1}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v1

    if-eqz v1, :cond_4

    .line 69
    iget-object v1, p0, Les/re;->i:Lcom/esfile/screen/recorder/player/exo/DuExoGLVideoView;

    invoke-virtual {v1}, Lcom/esfile/screen/recorder/player/exo/DuExoGLVideoView;->getCurrentPosition()I

    move-result v1

    int-to-long v4, v1

    .line 70
    iget-wide v6, v3, Les/qe;->e:J

    cmp-long v8, v4, v6

    if-gez v8, :cond_1

    goto :goto_1

    .line 71
    :cond_1
    iget-wide v8, v3, Les/qe;->f:J

    cmp-long v0, v4, v8

    if-lez v0, :cond_2

    long-to-int v0, v8

    goto :goto_1

    :cond_2
    long-to-int v0, v6

    sub-int v0, v1, v0

    goto :goto_1

    :cond_3
    int-to-long v4, v2

    .line 72
    invoke-virtual {v3}, Les/qe;->a()J

    move-result-wide v2

    add-long/2addr v4, v2

    long-to-int v2, v4

    add-int/lit8 v1, v1, 0x1

    goto :goto_0

    :cond_4
    :goto_2
    int-to-long v0, v2

    return-wide v0
.end method

.method public a(I)V
    .locals 11

    const-string v0, "MergeRender"

    const-string v1, "seekTo"

    .line 39
    invoke-static {v0, v1}, Lcom/esfile/screen/recorder/utils/n;->d(Ljava/lang/String;Ljava/lang/String;)V

    .line 40
    invoke-virtual {p0}, Les/re;->c()I

    move-result v0

    const/4 v1, 0x1

    const/4 v2, 0x0

    const/4 v3, 0x2

    if-ne v0, v3, :cond_0

    .line 41
    invoke-virtual {p0}, Les/re;->f()V

    const/4 v0, 0x1

    goto :goto_0

    :cond_0
    const/4 v0, 0x0

    .line 42
    :goto_0
    invoke-direct {p0}, Les/re;->j()V

    .line 43
    iget-object v3, p0, Les/re;->e:Ljava/util/List;

    invoke-interface {v3}, Ljava/util/List;->iterator()Ljava/util/Iterator;

    move-result-object v3

    :goto_1
    invoke-interface {v3}, Ljava/util/Iterator;->hasNext()Z

    move-result v4

    const/4 v5, 0x0

    if-eqz v4, :cond_2

    invoke-interface {v3}, Ljava/util/Iterator;->next()Ljava/lang/Object;

    move-result-object v4

    check-cast v4, Les/qe;

    int-to-long v6, p1

    .line 44
    invoke-virtual {v4}, Les/qe;->a()J

    move-result-wide v8

    cmp-long v10, v6, v8

    if-gez v10, :cond_1

    goto :goto_2

    .line 45
    :cond_1
    invoke-virtual {v4}, Les/qe;->a()J

    move-result-wide v4

    sub-long/2addr v6, v4

    long-to-int p1, v6

    goto :goto_1

    :cond_2
    move-object v4, v5

    :goto_2
    if-nez v4, :cond_4

    .line 46
    iget-object p1, p0, Les/re;->f:Les/qe;

    invoke-direct {p0, p1, v2}, Les/re;->a(Les/qe;I)V

    .line 47
    sget-boolean p1, Les/u6;->a:Z

    if-nez p1, :cond_3

    return-void

    .line 48
    :cond_3
    new-instance p1, Ljava/lang/IllegalStateException;

    const-string v0, "seek to a unknown item"

    invoke-direct {p1, v0}, Ljava/lang/IllegalStateException;-><init>(Ljava/lang/String;)V

    throw p1

    .line 49
    :cond_4
    iget-object v3, p0, Les/re;->e:Ljava/util/List;

    invoke-interface {v3, v4}, Ljava/util/List;->indexOf(Ljava/lang/Object;)I

    move-result v3

    .line 50
    iget-object v6, p0, Les/re;->e:Ljava/util/List;

    invoke-interface {v6, v3}, Ljava/util/List;->get(I)Ljava/lang/Object;

    move-result-object v6

    check-cast v6, Les/qe;

    .line 51
    iget-wide v7, v6, Les/qe;->e:J

    long-to-int v8, v7

    add-int/2addr v8, p1

    iput v8, v6, Les/qe;->i:I

    add-int/2addr v3, v1

    .line 52
    :goto_3
    iget-object v1, p0, Les/re;->e:Ljava/util/List;

    invoke-interface {v1}, Ljava/util/List;->size()I

    move-result v1

    if-ge v3, v1, :cond_5

    .line 53
    iget-object v1, p0, Les/re;->e:Ljava/util/List;

    invoke-interface {v1, v3}, Ljava/util/List;->get(I)Ljava/lang/Object;

    move-result-object v1

    check-cast v1, Les/qe;

    .line 54
    iput v2, v1, Les/qe;->i:I

    add-int/lit8 v3, v3, 0x1

    goto :goto_3

    .line 55
    :cond_5
    iget-object v1, p0, Les/re;->f:Les/qe;

    if-eq v4, v1, :cond_6

    .line 56
    invoke-direct {p0, v1}, Les/re;->c(Les/qe;)V

    .line 57
    invoke-direct {p0, v4, v5}, Les/re;->a(Les/qe;Ljava/lang/Runnable;)V

    .line 58
    :cond_6
    iput-object v4, p0, Les/re;->f:Les/qe;

    .line 59
    iget-object v1, p0, Les/re;->g:Les/re$d;

    if-eqz v1, :cond_7

    .line 60
    invoke-interface {v1, v4}, Les/re$d;->a(Les/qe;)V

    :cond_7
    int-to-long v1, p1

    .line 61
    iget-wide v5, v4, Les/qe;->e:J

    add-long/2addr v1, v5

    invoke-direct {p0, v4, v1, v2}, Les/re;->a(Les/qe;J)V

    if-eqz v0, :cond_8

    .line 62
    new-instance p1, Les/oe;

    invoke-direct {p1, p0}, Les/oe;-><init>(Les/re;)V

    invoke-direct {p0, v4, p1}, Les/re;->b(Les/qe;Ljava/lang/Runnable;)V

    :cond_8
    return-void
.end method

.method public a(J)V
    .locals 5

    .line 89
    invoke-direct {p0}, Les/re;->j()V

    .line 90
    iget-object v0, p0, Les/re;->e:Ljava/util/List;

    invoke-interface {v0}, Ljava/util/List;->iterator()Ljava/util/Iterator;

    move-result-object v0

    :cond_0
    invoke-interface {v0}, Ljava/util/Iterator;->hasNext()Z

    move-result v1

    if-eqz v1, :cond_1

    invoke-interface {v0}, Ljava/util/Iterator;->next()Ljava/lang/Object;

    move-result-object v1

    check-cast v1, Les/qe;

    .line 91
    iget-wide v2, v1, Les/qe;->a:J

    cmp-long v4, v2, p1

    if-nez v4, :cond_0

    .line 92
    invoke-virtual {p0, v1}, Les/re;->a(Les/qe;)V

    :cond_1
    return-void
.end method

.method public synthetic a(Landroid/widget/ImageView;)V
    .locals 0

    .line 35
    invoke-direct {p0}, Les/re;->l()V

    return-void
.end method

.method public a(Lcom/esfile/screen/recorder/player/exo/DuExoGLVideoView;)V
    .locals 0

    .line 95
    iput-object p1, p0, Les/re;->i:Lcom/esfile/screen/recorder/player/exo/DuExoGLVideoView;

    return-void
.end method

.method public synthetic a(Lcom/esfile/screen/recorder/player/exo/a;)V
    .locals 0

    .line 22
    invoke-direct {p0}, Les/re;->l()V

    return-void
.end method

.method public a(Lcom/esfile/screen/recorder/videos/merge/ui/ImageViewPlayer;)V
    .locals 0

    .line 96
    iput-object p1, p0, Les/re;->j:Lcom/esfile/screen/recorder/videos/merge/ui/ImageViewPlayer;

    return-void
.end method

.method public a(Les/qe;)V
    .locals 7

    const-string v0, "MergeRender"

    const-string v1, "selectItem"

    .line 80
    invoke-static {v0, v1}, Lcom/esfile/screen/recorder/utils/n;->d(Ljava/lang/String;Ljava/lang/String;)V

    .line 81
    invoke-direct {p0}, Les/re;->j()V

    .line 82
    iput-object p1, p0, Les/re;->f:Les/qe;

    .line 83
    iget-object v1, p0, Les/re;->e:Ljava/util/List;

    invoke-interface {v1}, Ljava/util/List;->iterator()Ljava/util/Iterator;

    move-result-object v1

    const/4 v2, 0x0

    const/4 v3, 0x0

    :goto_0
    invoke-interface {v1}, Ljava/util/Iterator;->hasNext()Z

    move-result v4

    if-eqz v4, :cond_1

    invoke-interface {v1}, Ljava/util/Iterator;->next()Ljava/lang/Object;

    move-result-object v4

    check-cast v4, Les/qe;

    if-ne p1, v4, :cond_0

    .line 84
    invoke-direct {p0}, Les/re;->m()V

    goto :goto_1

    :cond_0
    int-to-long v5, v3

    .line 85
    invoke-virtual {v4}, Les/qe;->a()J

    move-result-wide v3

    add-long/2addr v5, v3

    long-to-int v3, v5

    goto :goto_0

    .line 86
    :cond_1
    :goto_1
    new-instance p1, Ljava/lang/StringBuilder;

    invoke-direct {p1}, Ljava/lang/StringBuilder;-><init>()V

    const-string v1, "selectItem the progress is:"

    invoke-virtual {p1, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    invoke-virtual {p1, v3}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;

    invoke-virtual {p1}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object p1

    invoke-static {v0, p1}, Lcom/esfile/screen/recorder/utils/n;->d(Ljava/lang/String;Ljava/lang/String;)V

    .line 87
    iget-object p1, p0, Les/re;->c:Les/se;

    if-eqz p1, :cond_2

    .line 88
    invoke-interface {p1, v3, v2}, Les/se;->a(IZ)V

    :cond_2
    return-void
.end method

.method public synthetic a(Les/qe;Ljava/lang/Runnable;Landroid/widget/ImageView;)V
    .locals 1

    .line 23
    iget p3, p1, Les/qe;->i:I

    if-lez p3, :cond_0

    .line 24
    iget-object v0, p0, Les/re;->j:Lcom/esfile/screen/recorder/videos/merge/ui/ImageViewPlayer;

    invoke-virtual {v0, p3}, Lcom/esfile/screen/recorder/videos/merge/ui/ImageViewPlayer;->a(I)V

    :cond_0
    const/4 p3, 0x0

    .line 25
    iput p3, p1, Les/qe;->i:I

    .line 26
    iget-object p3, p0, Les/re;->j:Lcom/esfile/screen/recorder/videos/merge/ui/ImageViewPlayer;

    invoke-virtual {p3}, Lcom/esfile/screen/recorder/videos/merge/ui/ImageViewPlayer;->a()V

    const/4 p3, 0x1

    .line 27
    invoke-direct {p0, p1, p3}, Les/re;->a(Les/qe;I)V

    if-eqz p2, :cond_1

    .line 28
    invoke-interface {p2}, Ljava/lang/Runnable;->run()V

    :cond_1
    const-string p1, "image"

    .line 29
    invoke-direct {p0, p1}, Les/re;->a(Ljava/lang/String;)V

    return-void
.end method

.method public synthetic a(Les/qe;Ljava/lang/Runnable;Lcom/esfile/screen/recorder/player/exo/a;)V
    .locals 1

    .line 12
    iget p3, p1, Les/qe;->h:I

    if-lez p3, :cond_0

    .line 13
    iget-object v0, p0, Les/re;->i:Lcom/esfile/screen/recorder/player/exo/DuExoGLVideoView;

    invoke-virtual {v0, p3}, Lcom/esfile/screen/recorder/player/exo/DuExoGLVideoView;->seekTo(I)V

    .line 14
    :cond_0
    iget-object p3, p0, Les/re;->i:Lcom/esfile/screen/recorder/player/exo/DuExoGLVideoView;

    invoke-virtual {p3}, Lcom/esfile/screen/recorder/player/exo/DuExoGLVideoView;->pause()V

    const/4 p3, 0x1

    .line 15
    invoke-direct {p0, p1, p3}, Les/re;->a(Les/qe;I)V

    if-eqz p2, :cond_1

    .line 16
    invoke-interface {p2}, Ljava/lang/Runnable;->run()V

    :cond_1
    return-void
.end method

.method public a(Les/re$b;)V
    .locals 0

    .line 94
    iput-object p1, p0, Les/re;->h:Les/re$b;

    return-void
.end method

.method public a(Les/re$c;)V
    .locals 2

    const-string v0, "MergeRender"

    const-string v1, "setErrorListener"

    .line 37
    invoke-static {v0, v1}, Lcom/esfile/screen/recorder/utils/n;->d(Ljava/lang/String;Ljava/lang/String;)V

    .line 38
    iput-object p1, p0, Les/re;->b:Les/re$c;

    return-void
.end method

.method public a(Les/re$d;)V
    .locals 0

    .line 93
    iput-object p1, p0, Les/re;->g:Les/re$d;

    return-void
.end method

.method public a(Les/re$e;)V
    .locals 0

    .line 36
    iput-object p1, p0, Les/re;->a:Les/re$e;

    return-void
.end method

.method public a(Les/se;)V
    .locals 0

    .line 77
    iput-object p1, p0, Les/re;->c:Les/se;

    return-void
.end method

.method public a(Ljava/util/List;)V
    .locals 1
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "(",
            "Ljava/util/List<",
            "Les/qe;",
            ">;)V"
        }
    .end annotation

    .line 78
    iget-object v0, p0, Les/re;->e:Ljava/util/List;

    invoke-interface {v0}, Ljava/util/List;->clear()V

    .line 79
    iget-object v0, p0, Les/re;->e:Ljava/util/List;

    invoke-interface {v0, p1}, Ljava/util/List;->addAll(Ljava/util/Collection;)Z

    return-void
.end method

.method public synthetic a(Les/qe;Lcom/esfile/screen/recorder/player/exo/a;Ljava/lang/Exception;)Z
    .locals 0

    .line 17
    iget-object p2, p0, Les/re;->i:Lcom/esfile/screen/recorder/player/exo/DuExoGLVideoView;

    const/4 p3, 0x0

    invoke-virtual {p2, p3}, Lcom/esfile/screen/recorder/player/exo/DuExoGLVideoView;->setOnPreparedListener(Lcom/esfile/screen/recorder/player/exo/a$g;)V

    .line 18
    iget-object p2, p0, Les/re;->b:Les/re$c;

    const/4 p3, 0x0

    if-eqz p2, :cond_0

    .line 19
    invoke-direct {p0, p1, p3}, Les/re;->a(Les/qe;I)V

    .line 20
    invoke-direct {p0}, Les/re;->k()V

    .line 21
    iget-object p2, p0, Les/re;->b:Les/re$c;

    invoke-interface {p2, p1}, Les/re$c;->a(Les/qe;)V

    const/4 p1, 0x1

    return p1

    :cond_0
    return p3
.end method

.method public synthetic a(Les/qe;Lcom/esfile/screen/recorder/videos/merge/ui/ImageViewPlayer;Ljava/lang/Exception;)Z
    .locals 0

    .line 30
    iget-object p2, p0, Les/re;->j:Lcom/esfile/screen/recorder/videos/merge/ui/ImageViewPlayer;

    const/4 p3, 0x0

    invoke-virtual {p2, p3}, Lcom/esfile/screen/recorder/videos/merge/ui/ImageViewPlayer;->setOnPreparedListener(Lcom/esfile/screen/recorder/videos/merge/ui/ImageViewPlayer$e;)V

    .line 31
    iget-object p2, p0, Les/re;->b:Les/re$c;

    const/4 p3, 0x0

    if-eqz p2, :cond_0

    .line 32
    invoke-direct {p0, p1, p3}, Les/re;->a(Les/qe;I)V

    .line 33
    invoke-direct {p0}, Les/re;->k()V

    .line 34
    iget-object p2, p0, Les/re;->b:Les/re$c;

    invoke-interface {p2, p1}, Les/re$c;->a(Les/qe;)V

    const/4 p1, 0x1

    return p1

    :cond_0
    return p3
.end method

.method public b()J
    .locals 5

    .line 37
    iget-object v0, p0, Les/re;->e:Ljava/util/List;

    invoke-interface {v0}, Ljava/util/List;->iterator()Ljava/util/Iterator;

    move-result-object v0

    const-wide/16 v1, 0x0

    :goto_0
    invoke-interface {v0}, Ljava/util/Iterator;->hasNext()Z

    move-result v3

    if-eqz v3, :cond_0

    invoke-interface {v0}, Ljava/util/Iterator;->next()Ljava/lang/Object;

    move-result-object v3

    check-cast v3, Les/qe;

    .line 38
    invoke-virtual {v3}, Les/qe;->a()J

    move-result-wide v3

    add-long/2addr v1, v3

    goto :goto_0

    :cond_0
    return-wide v1
.end method

.method public synthetic b(Landroid/widget/ImageView;)V
    .locals 0

    .line 31
    invoke-direct {p0}, Les/re;->l()V

    return-void
.end method

.method public synthetic b(Lcom/esfile/screen/recorder/player/exo/a;)V
    .locals 0

    .line 17
    invoke-direct {p0}, Les/re;->l()V

    return-void
.end method

.method public synthetic b(Les/qe;Ljava/lang/Runnable;Landroid/widget/ImageView;)V
    .locals 3

    .line 18
    iget p3, p1, Les/qe;->i:I

    if-lez p3, :cond_0

    goto :goto_0

    .line 19
    :cond_0
    iget p3, p1, Les/qe;->h:I

    :goto_0
    const/4 v0, 0x0

    .line 20
    iput v0, p1, Les/qe;->i:I

    .line 21
    iget-object v0, p0, Les/re;->j:Lcom/esfile/screen/recorder/videos/merge/ui/ImageViewPlayer;

    int-to-long v1, p3

    invoke-virtual {v0, v1, v2}, Lcom/esfile/screen/recorder/videos/merge/ui/ImageViewPlayer;->a(J)V

    const/4 p3, 0x2

    .line 22
    invoke-direct {p0, p1, p3}, Les/re;->a(Les/qe;I)V

    if-eqz p2, :cond_1

    .line 23
    invoke-interface {p2}, Ljava/lang/Runnable;->run()V

    :cond_1
    const-string p1, "image"

    .line 24
    invoke-direct {p0, p1}, Les/re;->a(Ljava/lang/String;)V

    .line 25
    invoke-direct {p0}, Les/re;->n()V

    return-void
.end method

.method public synthetic b(Les/qe;Ljava/lang/Runnable;Lcom/esfile/screen/recorder/player/exo/a;)V
    .locals 2

    .line 6
    iget p3, p1, Les/qe;->i:I

    if-lez p3, :cond_0

    .line 7
    iget-object v0, p0, Les/re;->i:Lcom/esfile/screen/recorder/player/exo/DuExoGLVideoView;

    invoke-virtual {v0, p3}, Lcom/esfile/screen/recorder/player/exo/DuExoGLVideoView;->seekTo(I)V

    :cond_0
    const/4 p3, 0x0

    .line 8
    iput p3, p1, Les/qe;->i:I

    .line 9
    iget-object p3, p0, Les/re;->i:Lcom/esfile/screen/recorder/player/exo/DuExoGLVideoView;

    iget-wide v0, p1, Les/qe;->f:J

    invoke-virtual {p3, v0, v1}, Lcom/esfile/screen/recorder/player/exo/DuExoGLVideoView;->a(J)V

    const/4 p3, 0x2

    .line 10
    invoke-direct {p0, p1, p3}, Les/re;->a(Les/qe;I)V

    if-eqz p2, :cond_1

    .line 11
    invoke-interface {p2}, Ljava/lang/Runnable;->run()V

    :cond_1
    return-void
.end method

.method public synthetic b(Les/qe;Lcom/esfile/screen/recorder/player/exo/a;Ljava/lang/Exception;)Z
    .locals 0

    .line 12
    iget-object p2, p0, Les/re;->i:Lcom/esfile/screen/recorder/player/exo/DuExoGLVideoView;

    const/4 p3, 0x0

    invoke-virtual {p2, p3}, Lcom/esfile/screen/recorder/player/exo/DuExoGLVideoView;->setOnPreparedListener(Lcom/esfile/screen/recorder/player/exo/a$g;)V

    .line 13
    iget-object p2, p0, Les/re;->b:Les/re$c;

    const/4 p3, 0x0

    if-eqz p2, :cond_0

    .line 14
    invoke-direct {p0, p1, p3}, Les/re;->a(Les/qe;I)V

    .line 15
    invoke-direct {p0}, Les/re;->k()V

    .line 16
    iget-object p2, p0, Les/re;->b:Les/re$c;

    invoke-interface {p2, p1}, Les/re$c;->a(Les/qe;)V

    const/4 p1, 0x1

    return p1

    :cond_0
    return p3
.end method

.method public synthetic b(Les/qe;Lcom/esfile/screen/recorder/videos/merge/ui/ImageViewPlayer;Ljava/lang/Exception;)Z
    .locals 0

    .line 26
    iget-object p2, p0, Les/re;->j:Lcom/esfile/screen/recorder/videos/merge/ui/ImageViewPlayer;

    const/4 p3, 0x0

    invoke-virtual {p2, p3}, Lcom/esfile/screen/recorder/videos/merge/ui/ImageViewPlayer;->setOnPreparedListener(Lcom/esfile/screen/recorder/videos/merge/ui/ImageViewPlayer$e;)V

    .line 27
    iget-object p2, p0, Les/re;->b:Les/re$c;

    const/4 p3, 0x0

    if-eqz p2, :cond_0

    .line 28
    invoke-direct {p0, p1, p3}, Les/re;->a(Les/qe;I)V

    .line 29
    invoke-direct {p0}, Les/re;->k()V

    .line 30
    iget-object p2, p0, Les/re;->b:Les/re$c;

    invoke-interface {p2, p1}, Les/re$c;->a(Les/qe;)V

    const/4 p1, 0x1

    return p1

    :cond_0
    return p3
.end method

.method public c()I
    .locals 7

    .line 22
    iget-object v0, p0, Les/re;->e:Ljava/util/List;

    invoke-interface {v0}, Ljava/util/List;->iterator()Ljava/util/Iterator;

    move-result-object v0

    const/4 v1, 0x0

    const/4 v2, 0x0

    const/4 v3, 0x0

    :cond_0
    :goto_0
    invoke-interface {v0}, Ljava/util/Iterator;->hasNext()Z

    move-result v4

    const/4 v5, 0x2

    const/4 v6, 0x1

    if-eqz v4, :cond_2

    invoke-interface {v0}, Ljava/util/Iterator;->next()Ljava/lang/Object;

    move-result-object v4

    check-cast v4, Les/qe;

    .line 23
    iget v4, v4, Les/qe;->g:I

    if-ne v4, v5, :cond_1

    add-int/lit8 v3, v3, 0x1

    goto :goto_0

    :cond_1
    if-ne v4, v6, :cond_0

    add-int/lit8 v2, v2, 0x1

    goto :goto_0

    :cond_2
    add-int v0, v2, v3

    if-le v0, v6, :cond_4

    .line 24
    sget-boolean v0, Les/u6;->a:Z

    if-nez v0, :cond_3

    goto :goto_1

    .line 25
    :cond_3
    new-instance v0, Ljava/lang/IllegalStateException;

    const-string v1, "There can not be over 1 item playing or paused"

    invoke-direct {v0, v1}, Ljava/lang/IllegalStateException;-><init>(Ljava/lang/String;)V

    throw v0

    :cond_4
    :goto_1
    if-ne v3, v6, :cond_5

    return v5

    :cond_5
    if-ne v2, v6, :cond_6

    return v6

    :cond_6
    return v1
.end method

.method public synthetic d()V
    .locals 1

    const-string v0, "video"

    .line 17
    invoke-direct {p0, v0}, Les/re;->a(Ljava/lang/String;)V

    return-void
.end method

.method public synthetic e()V
    .locals 1

    const-string v0, "video"

    .line 2
    invoke-direct {p0, v0}, Les/re;->a(Ljava/lang/String;)V

    .line 3
    invoke-direct {p0}, Les/re;->n()V

    return-void
.end method

.method public f()V
    .locals 2

    const-string v0, "MergeRender"

    const-string v1, "pause"

    .line 1
    invoke-static {v0, v1}, Lcom/esfile/screen/recorder/utils/n;->d(Ljava/lang/String;Ljava/lang/String;)V

    .line 2
    iget-object v0, p0, Les/re;->f:Les/qe;

    if-nez v0, :cond_0

    return-void

    .line 3
    :cond_0
    new-instance v1, Les/oe;

    invoke-direct {v1, p0}, Les/oe;-><init>(Les/re;)V

    invoke-direct {p0, v0, v1}, Les/re;->a(Les/qe;Ljava/lang/Runnable;)V

    return-void
.end method

.method public g()V
    .locals 2

    const-string v0, "MergeRender"

    const-string v1, "resume"

    .line 1
    invoke-static {v0, v1}, Lcom/esfile/screen/recorder/utils/n;->d(Ljava/lang/String;Ljava/lang/String;)V

    .line 2
    iget-object v0, p0, Les/re;->f:Les/qe;

    if-nez v0, :cond_0

    return-void

    .line 3
    :cond_0
    invoke-direct {p0, v0}, Les/re;->b(Les/qe;)V

    return-void
.end method

.method public h()V
    .locals 2

    const-string v0, "MergeRender"

    const-string v1, "start"

    .line 1
    invoke-static {v0, v1}, Lcom/esfile/screen/recorder/utils/n;->d(Ljava/lang/String;Ljava/lang/String;)V

    .line 2
    iget-object v0, p0, Les/re;->f:Les/qe;

    if-nez v0, :cond_0

    return-void

    .line 3
    :cond_0
    new-instance v1, Les/oe;

    invoke-direct {v1, p0}, Les/oe;-><init>(Les/re;)V

    invoke-direct {p0, v0, v1}, Les/re;->b(Les/qe;Ljava/lang/Runnable;)V

    return-void
.end method

.method public i()V
    .locals 3

    const-string v0, "MergeRender"

    const-string v1, "stop"

    .line 1
    invoke-static {v0, v1}, Lcom/esfile/screen/recorder/utils/n;->d(Ljava/lang/String;Ljava/lang/String;)V

    .line 2
    iget-object v0, p0, Les/re;->f:Les/qe;

    if-nez v0, :cond_0

    return-void

    .line 3
    :cond_0
    iget-object v1, p0, Les/re;->i:Lcom/esfile/screen/recorder/player/exo/DuExoGLVideoView;

    if-eqz v1, :cond_1

    const/4 v2, 0x0

    .line 4
    invoke-virtual {v1, v2}, Lcom/esfile/screen/recorder/player/exo/DuExoGLVideoView;->setOnCompletionListener(Lcom/esfile/screen/recorder/player/exo/a$c;)V

    .line 5
    :cond_1
    invoke-direct {p0, v0}, Les/re;->c(Les/qe;)V

    .line 6
    invoke-direct {p0}, Les/re;->k()V

    return-void
.end method
